cmake_minimum_required(VERSION 3.10)
project(osgb_projections)

set(CMAKE_CXX_STANDARD 17)

# Find OSG package
find_package(OpenSceneGraph REQUIRED COMPONENTS 
    osgDB 
    osgUtil 
    osgViewer
)

# Add executable
add_executable(osgb_projections main.cpp)

target_include_directories(osgb_projections PRIVATE
        ${OPENSCENEGRAPH_INCLUDE_DIRS}
)

# Link OSG libraries
target_link_libraries(osgb_projections
    ${OPENSCENEGRAPH_LIBRARIES}
) 